import React, {Component} from 'react';
import {Route,Switch} from 'react-router-dom'

import Index from './pages/Index/index'
import './common/style/common.scss'
import {setWxConfig} from './utils/JsSdkMethod/JsSdk'

class App extends Component {
    componentDidMount(){
        setWxConfig()
    }
    render() {
        return (
            <div className="App" style={{height:"100%",overflow: 'hidden'}}>
                <Switch>
                    <Route component={Index}></Route>
                </Switch>
            </div>
        );
    }
}

export default App;
